
import java.util.Scanner;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author info08
 */
public class Principal2 {
    static int a = 5; //variavel global
    public static void main(String[] args) {
        int b = 2; //variaveis local
        a = 3; //variaveis global
        System.out.println("Salario 1: " + calcularSalario(new Scanner(System.in).nextDouble(), 
                                                           new Scanner(System.in).nextDouble()));

    }

    public static double calcularSalario(
            double porcentagem, double salario) {
        int c = 1; //variavel local
        a = 5; //variavel global
        return ((porcentagem / 100) * salario) + salario;

    }
}
